/*
 * Copyright (c) 2018, apexes.net. All rights reserved.
 *
 *         http://www.apexes.net
 *
 */
package net.apexes.vertx;

import com.google.inject.Inject;
import com.google.inject.Injector;
import io.vertx.core.AbstractVerticle;

/**
 * @author <a href="mailto:hedyn@foxmail.com">HeDYn</a>
 */
public abstract class GuiceVerticle extends AbstractVerticle {
    
    @Inject
    private InjectorHolder holder;
    
    protected Injector injector() {
        return holder.injector();
    }
}
